#pragma once
#include "actionchecker.h"
class Action_Guard : public ActionChecker
{
public:
	Action_Guard(void);
	~Action_Guard(void);
	void SetActionInfo(const JointInfo&, XnUInt32 userID, bool ifChange);
	ActionInfo* GetActionInfo();
	const char* GetActionStr() const;
protected:
	void OnResetAction();
	bool IsActionExcluding();
private:
	bool Pattern(const JointInfo& joint);
	void EraceGuard();
	ActionInfo _actionInfo;
	static const char* STR;
};

